package co.th.bjc.md.controller.simulator;

import co.th.bjc.md.dao.MemberDAO;
import co.th.bjc.md.helper.impl.MemberHelper;

public class SimulatorWebApp {

	public static void main(String[] args) {
		new SimulatorWebApp().testFindByPK();
	}
	
	protected void testFindByPK(){
		MemberDAO dao = null;
		try{
			MemberHelper helper = new MemberHelper();
			dao = helper.findByPK(1);
			
			System.out.println("First : " + dao.getFirstName());
			System.out.println("Last : " + dao.getLastName());
			System.out.println("Mobile : " + dao.getMoblieNumber());
			
		}catch(Exception ex){
			ex.printStackTrace();
		}finally{
			
		}
	}

}
